package com.example.sources.handler;

import java.lang.reflect.Method;
import java.sql.Connection;

/**
 * @author liyuncong
 * @version 1.0
 * @file AbstractHandler
 * @brief AbstractHandler
 * @details AbstractHandler
 * @date 2022-11-14
 *
 * Edit History
 * ----------------------------------------------------------------------------
 * DATE                        NAME               DESCRIPTION
 * 2022-11-14                  liyuncong          Created
 */
public interface AbstractHandler {

    String parseSql(Method method);

    Object process(Method method, Object[] args, String oldSql, Connection connection)
        throws Exception;
}
